Complexity of Grundy Coloring and Its Variants
نویسندگان
چکیده
The Grundy number of a graph is the maximum number of colors used by the greedy coloring algorithm over all vertex orderings. In this paper, we study the computational complexity of Grundy Coloring, the problem of determining whether a given graph has Grundy number at least k. We also study the variants Weak Grundy Coloring (where the coloring is not necessarily proper) and Connected Grundy Coloring (where at each step of the greedy coloring algorithm, the subgraph induced by the colored vertices must be connected). We show that Grundy Coloring can be solved in time O(2.443) and Weak Grundy Coloring in time O(2.716) on graphs of order n. While Grundy Coloring and Weak Grundy Coloring are known to be solvable in time O(2) for graphs of treewidth w (where k is the number of colors), we prove that under the Exponential Time Hypothesis (ETH), they cannot be solved in time O(2 log ). We also describe an O(2 O(k) ) algorithm for Weak Grundy Coloring, which is therefore FPT for the parameter k. Moreover, under the ETH, we prove that such a running time is essentially optimal (this lower bound also holds for Grundy Coloring). Although we do not know whether Grundy Coloring is in FPT, we show that this is the case for graphs belonging to a number of standard graph classes including chordal graphs, claw-free graphs, and graphs excluding a fixed minor. We also describe a quasi-polynomial time algorithm for Grundy Coloring and Weak Grundy Coloring on apex-minor graphs. In stark contrast with the two other problems, we show that Connected Grundy Coloring is NP-complete already for k = 7 colors.
منابع مشابه
Results on the Grundy chromatic number of graphs
Given a graph G, by a Grundy k-coloring of G we mean any proper k-vertex coloring of G such that for each two colors i and j, i < j , every vertex ofG colored by j has a neighbor with color i. The maximum k for which there exists a Grundy k-coloring is denoted by (G) and called Grundy (chromatic) number of G. We first discuss the fixed-parameter complexity of determining (G) k, for any fixed in...
متن کاملA linear algorithm for the grundy number of a tree
A coloring of a graph G = (V ,E) is a partition {V1, V2, . . . , Vk} of V into independent sets or color classes. A vertex v ∈ Vi is a Grundy vertex if it is adjacent to at least one vertex in each color class Vj for every j <i. A coloring is a Grundy coloring if every color class contains at least one Grundy vertex, and the Grundy number of a graph is the maximum number of colors in a Grundy c...
متن کاملAlgorithms for Vertex Partitioning Problems on Partial k-Trees
In this paper, we consider a large class of vertex partitioning problems and apply to them the theory of algorithm design for problems restricted to partial k-trees. We carefully describe the details of algorithms and analyze their complexity in an attempt to make the algorithms feasible as solutions for practical applications. We give a precise characterization of vertex partitioning problems,...
متن کاملMaximization coloring problems on graphs with few P4
Given a graph G= (V,E), a greedy coloring of G is a proper coloring such that, for each two colors i< j, every vertex of V (G) colored j has a neighbor with color i. The greatest k such that G has a greedy coloring with k colors is the Grundy number of G. A b-coloring of G is a proper coloring such that every color class contains a vertex which is adjacent to at least one vertex in every other ...
متن کاملRestricted coloring problems
In this paper, we obtain polynomial time algorithms to determine the acyclic chromatic number, the star chromatic number and the harmonious chromatic number of P4-tidy graphs and (q, q − 4)-graphs, for every fixed q. These classes include cographs, P4-sparse and P4-lite graphs. We also obtain a polynomial time algorithm to determine the Grundy number of (q, q − 4)-graphs. All these coloring pro...
متن کامل